using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 
    /// </summary>
    public class dt_article_comment
    {
        /// <summary>
        /// 
        /// </summary>
        public dt_article_comment()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 站点ID
        /// </summary>
        public System.Int32? site_id { get; set; }

        /// <summary>
        /// 频道ID
        /// </summary>
        public System.Int32? channel_id { get; set; }

        /// <summary>
        /// 主表ID
        /// </summary>
        public System.Int32? article_id { get; set; }

        /// <summary>
        /// 父评论ID
        /// </summary>
        public System.Int32? parent_id { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public System.Int32? user_id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public System.String user_name { get; set; }

        /// <summary>
        /// 用户IP
        /// </summary>
        public System.String user_ip { get; set; }

        /// <summary>
        /// 评论内容
        /// </summary>
        public System.String content { get; set; }

        /// <summary>
        /// 是否锁定
        /// </summary>
        public System.Int32? is_lock { get; set; }

        /// <summary>
        /// 发表时间
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? add_time { get; set; }

        /// <summary>
        /// 是否已答复
        /// </summary>
        public System.Int32? is_reply { get; set; }

        /// <summary>
        /// 答复内容
        /// </summary>
        public System.String reply_content { get; set; }

        /// <summary>
        /// 回复时间
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? reply_time { get; set; }
    }
}